/**
 * 文件名称:  DepartmentManager.java
 * 所属版权:  ChinaStar Technologies Co., Ltd. Copyright 2010-2021, All rights reserved
 * 简单描述:  <描述>
 * 修改作者:  xdli
 * 修改时间:  Jun 29, 2012
 * 修改内容:  <修改内容>
 */
package com.chinastar.iweb.department.manager;

import java.util.List;

import com.chinastar.iweb.department.domain.DepartmentBean;

/**
 * DepartmentManager
 *  
 * @author  xdli
 * @version Jun 29, 2012
 * @see     DepartmentManager
 * @since   1.0
 */
public interface DepartmentManager
{
    
    /**
     * 查询所有部门信息
     * @return
     */
    List<DepartmentBean> queryList();
    
    /**
     * 保存部门信息
     * @param departmentBean
     * @return
     */
    boolean save(DepartmentBean departmentBean);
    
    /**
     * 更新部门信息
     * @param departmentBean
     * @return
     */
    boolean update(DepartmentBean departmentBean);
    
    /**
     * 删除部门信息
     * @param departmentBean
     * @return
     */
    boolean delete(DepartmentBean departmentBean);
    
    /**
     * 删除所有部门信息
     * @param departmentBean
     * @return
     */
    boolean deleteAll(DepartmentBean departmentBean);
    
    /**
     * 获取部门信息
     * @param departmentBean
     * @return
     */
    DepartmentBean getDepartmentBean(DepartmentBean departmentBean);
}
